
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>官网演示 网站数据分析报表 - 易分析 - 基于用户画像的新一代行为分析工具  20</title>
<link href="css/5.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript" type="text/javascript" src="js/1.js"></script>
<script language="JavaScript" type="text/javascript" src="js/2.js"></script>
<script language="JavaScript" type="text/javascript" src="js/3.js"></script>
<script language="JavaScript">
$(function(){
	var pageheight = $(window).height();
	$("#report_iframe").height(pageheight-50);
	$(".secondbar-box").height(pageheight-50);
	
	//弹出填写手机号或者邮箱层
	var read_cookie_ok = read_cookie('yfx_deno_user_cookie');
	if( read_cookie_ok != 1 )
	{
		var index =layer.open({
			type: 1,
			title:"查看完整演示，请完成下面的信息",
			closeBtn:0,
			area:['320px','auto'],
			// content: '<div id="mobilephone" style="padding:20px 30px 20px 30px;"><div><input type="text" name="mobilephone" placeholder="请输入手机号来获取验证码" style="border:1px solid #d8d8d8;padding:10px;background:#f9f9f9;width:237px;"/></div><div style="margin-top:10px;"><input type="text" name="checkcode" placeholder="请输入验证码" style="border:1px solid #d8d8d8;padding:10px;background:#f9f9f9;width:117px;vertical-align:middle;"/> <input type="button" style="border:1px solid #d8d8d8;padding:10px;background:#fff;color:#666;width:115px;border-radius:2px;vertical-align:middle;" id="sendmsg" value="获取验证码"></div></div><div style="background:#f9f9f9;padding:10px 30px;border-top:1px solid #e8e8e8;text-align:right"><button style="border:none;padding:11px;background:#1E9FFF;color:#fff;width:115px;border-radius:2px;" id="submobile">确认提交</button></div>',
		});
	}

	//倒计时
	function timer(intDiff){
		var a = window.setInterval(function(){
			if(intDiff > 0){
				var second = intDiff;
				$('#sendmsg').attr("disabled", true);
				$('#sendmsg').val(second+'秒后重试');
				intDiff--;
			}
			else{
				//结束触发器
				window.clearInterval(a);
				$('#sendmsg').attr("disabled", false);
				$('#sendmsg').val('重新发送验证码');
			}
			
		}, 1000);
	} 

	//发送验证码
	$("#sendmsg").click(function(){
		var mobilephone = $("input[name=mobilephone]").val();
		if(mobilephone==''){
			layer.msg("请输入手机号");
			return false;
		}
		timer(45);
		$.ajax({
			url: "sendmsg.php?action=sendmsg&mobilephone="+mobilephone+"&usercookie=_sk20190309155049911058511721200&marknum=1552905300",
			type: "GET",
			dataType: "json",
			async: false,
			success: function(data){
				if(data.status=="y"){
					layer.msg(data.info, {time: 1000, icon: 1});
				}
				else{
					status = data.status;
					layer.msg(data.info, {time: 1000, icon: 2});
				}
			}
		});
	});


	//提交手机号和邮箱地址
	$("#submobile").click(function(){
		var mobilephone = $("input[name=mobilephone]").val();
		var checkcode = $("input[name=checkcode]").val();
		if(mobilephone==''){
			layer.msg("请输入手机号");
			return false;
		}
		if(checkcode==''){
			layer.msg("请输入验证码");
			return false;
		}
		$.ajax({
			url: "sendmsg.php?action=checksendmsg&mobilephone="+mobilephone+"&usercookie=_sk20190309155049911058511721200&marknum=1552905300",
			data:{checkcode:checkcode},
			type: "post",
			dataType: "json",
			success: function(data){
				if(data.status == 'y'){
					//写cookie
					write_cookie('yfx_deno_user_cookie', 1, 14 * 24);
					layer.msg(data.info);
					layer.close(index);
				}
				else{
					layer.msg(data.info);
				}
			}
		});
	});
})
var getmenuid  = 'all';
var lastmenuid = "menuid0";
function error_cache()
{
	return true;
}
window.onerror = error_cache;

function search_links_id(linkid)
{
	var i = 0;
	var ik = eval('/^' + 'a' +linkid + '$/');
	for (i = 0; i < document.links.length; i++)
	{
		if (document.links[i].id.search(ik) == 0)
		{
			return true;
		}
	}
	return false;
}

function show_submenuid(menugroupid,menuid,menuurl)
{
	var menuobj = document.getElementById(menuid);
	if (menuobj)
	{
		if( lastmenuid != 'menuid0' )
		{
			if( search_links_id(lastmenuid) )
			{				
				var lastmenuidobj = document.getElementById(lastmenuid);
				lastmenuidobj.className = '';
			}
		}
		menuobj.className='selected';
	}
	lastmenuid = menuid;
	document.getElementById('addlinksclickurl').src = "./templates/blue/common_demo/webclick.php?menu_group="+menugroupid+"&menu="+menuid+"&menu_url="+menuurl;
}

function changesitemenu()
{
	var select_site_menu = document.getElementById('select_site_menu_id');
	var geturlchange = select_site_menu.options[select_site_menu.options.selectedIndex].value;
	window.document.location.href = geturlchange;
}

</script>
<body style="overflow-y:hidden;">

<img src="./templates/blue/imagefiles/chart_line.gif" id="addlinksclickurl" height="0" width="0" style="display:none">
<!--头部-->
<script type="text/javascript">
 $(function(){
	$(".sidebar li").click(function(){
		var url = $(this).attr("dataurl");
		if(url!=''){
			$("#report_iframe").attr('src',url);
			var index = $(this).index();
			$('.tree').children('ul').eq(index).children('li').first().children('a').addClass('selected').parent().siblings().children('a').removeClass('selected');;
		}
		$(".showmenu").css('left','170px');
		$(this).addClass('selected').siblings().removeClass('selected');
		$('.secondbar').show('fast');
		$('.header').css('padding-left','210px');
		$('.mainbox').css('padding-left','210px');
		$('.sitelist').css('padding-left','10px');
		$('.secondbar').children('h3').text($(this).children('.word').text());
		var menuname = $(this).attr('dataindex');
		if(menuname!=''){
			$("#"+menuname+"_submenu").show().siblings('ul').hide();
		}
	});
	
	//二级菜单控制
	$(".tree").on("click",'li',function(event){
		if($(this).children('ul').is(":hidden")){
			$(this).children('ul').show();
			$(this).children('a').addClass('active');
			event.stopPropagation();
		}
		else{
			$(this).children('ul').hide();
			$(this).children('a').removeClass('active');
			event.stopPropagation();
		}
	});

	$(".tree").on("click",'.last-node',function(){
		$(".tree").find('.last-node').children('a').removeClass('selected');
		$(this).children('a').addClass('selected');
	});

	//展开二级菜单
	$(".showmenu").click(function(){
		if($('.secondbar').is(":hidden")){
			$(this).css('left','170px');
			$('.secondbar').show('fast');
			$('.header').css('padding-left','210px');
			$('.mainbox').css('padding-left','210px');
			$('.sitelist').css('padding-left','10px');
		}
		else{
			$(this).css('left','90px');
			$('.secondbar').hide('fast');
			$('.header').css('padding-left','80px');
			$('.mainbox').css('padding-left','80px');
			$('.sitelist').css('padding-left','50px');
		}
	});
	
	//设置
	$('.user-text').click(function(){
		if($(this).siblings('.userbox').is(":hidden")){
			$(this).siblings('.userbox').show('fast');
		}
		else{
			$(this).siblings('.userbox').hide('fast');
		}
	});

	var IframeOnClick = {  
        resolution: 200,  
        iframes: [],  
        interval: null,  
        Iframe: function() {  
            this.element = arguments[0];  
            this.cb = arguments[1];   
            this.hasTracked = false;  
        },  
        track: function(element, cb) {  
            this.iframes.push(new this.Iframe(element, cb));  
            if (!this.interval) {  
                var _this = this;  
                this.interval = setInterval(function() { _this.checkClick(); }, this.resolution);  
            }  
        },  
        checkClick: function() {  
            if (document.activeElement) {  
                var activeElement = document.activeElement;  
                for (var i in this.iframes) {  
                    if (activeElement === this.iframes[i].element) { // user is in this Iframe  
                        if (this.iframes[i].hasTracked == false) {   
                            this.iframes[i].cb.apply(window, []);   
                            this.iframes[i].hasTracked = true;  
                        }  
                    } else {  
                        this.iframes[i].hasTracked = false;  
                    }  
                }  
            }  
        }  
    };  
	
	$(document).bind("click",function(e){
		var target  = $(e.target);
		if(target.closest(".user").length == 0){
			$('.user-text').siblings('.userbox').hide('fast');
		};
		e.stopPropagation();
	})

	IframeOnClick.track(document.getElementById("report_iframe"), function(e) {
		$('.user-text').siblings('.userbox').hide('fast');
		$('.selector').children('.selector-down').hide();
		//e.stopPropagation();
	});
	$(".selector").select({selecttype:3});
});
</script>
<div class="showmenu showmenu-right"></div>	
<div class="header">
	<div class="sitelist">
		<div class="selector">
			<div class="select-text">官网演示</div>
			<div class="selector-down">
				<div class="select-search"><input name="" type="text"></div>
				<ul>
									</ul>
			</div>
		</div>
	</div>
	<div class="user">
		<div class="user-text">
			<div class="icon-sj"></div>
			<span><a href="http://p.qiao.baidu.com/cps/chat?siteId=11937596&userId=3796054" target="_blank"><span style="color:red;font-weight:bold;">咨询在线客服</span></a>&nbsp;|&nbsp;欢迎您 , phpstat [ 演示用户 ]</span>
		</div>
		<div class="userbox hide">
			<div class="icon-sj-top"></div>
			<ul>
				<li><a href="" target="_blank">设置</a></li>
				<li><a href="#">成员管理</a></li>
				<li class="bordertop"><a href="javascript:if(confirm('确认退出?'))window.location.href='./login.php?logout=true';">退出</a></li>
			</ul>
		</div>
	</div>
</div>
<div class="sidebar">
	<div class="top">
	</div>
	<ul>
		<li class='selected clearfix' dataindex='overall' dataurl='./common_demo/business_boards.php?website=10000006&server=s1&menutag=Array&boardid=147&boardpos=home&starttime=2019-03-11&endtime=2019-03-17&website=10000006&server=s1'>
			<div class='word'>概况</div></li>

		<li class=' clearfix' dataindex='business' dataurl='./common_demo/business_boards.php?website=10000006&server=s1&menutag=&boardid=147&starttime=2019-03-11&endtime=2019-03-17&website=10000006&server=s1'>
			<div class='word'>业务</div></li>

		<li>&nbsp;</li></ul>
</div>
